package org.mpremote.android.framework.xml;

import com.thoughtworks.xstream.annotations.XStreamAlias;

/**
 * Created by IntelliJ IDEA.
 * User: Gilad
 * Date: 30/09/2010
 * Time: 23:14:58
 */
@XStreamAlias("Artist")
public class Artist {

    @XStreamAlias("name")
    private String name;
    @XStreamAlias("href")
    private String albumsUrl;
    @XStreamAlias("add")
    private String addToPlaylistUrl;

    public Artist() {
    }

    public Artist(String name, String albumsUrl, String addToPlaylistUrl) {
        this.name = name;
        this.albumsUrl = albumsUrl;
        this.addToPlaylistUrl = addToPlaylistUrl;
    }

    public String getName() {
        return name;
    }

    public String getAlbumsUrl() {
        return albumsUrl;
    }

    public String getAddToPlaylistUrl() {
        return addToPlaylistUrl;
    }

    @Override
    public String toString() {
        return name;
    }
}
